
package com.google.api.ads.adwords.jaxws.v201109.info;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * 
 *       Use this service to retrieve API usage information, such as the API units
 *       spent over a given date range. See the {@link InfoSelector} documentation for
 *       details.
 *     
 * 
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.6
 * Generated source version: 2.1
 * 
 */
@WebService(name = "InfoServiceInterface", targetNamespace = "https://adwords.google.com/api/adwords/info/v201109")
@XmlSeeAlso({
    com.google.api.ads.adwords.jaxws.v201109.info.ObjectFactory.class,
    com.google.api.ads.adwords.jaxws.v201109.cm.ObjectFactory.class
})
public interface InfoServiceInterface {


    /**
     * 
     *         Returns the API usage information based on the selection criteria specified in
     *         the selector.
     *         
     *         @param selector Specifies the type of usage information to return.
     *         @return The API usage information.
     *         @throws ApiException when there is at least one error with the request.
     *       
     * 
     * @param selector
     * @return
     *     returns com.google.api.ads.adwords.jaxws.v201109.info.ApiUsageInfo
     * @throws ApiException
     */
    @WebMethod
    @WebResult(name = "rval", targetNamespace = "https://adwords.google.com/api/adwords/info/v201109")
    @RequestWrapper(localName = "get", targetNamespace = "https://adwords.google.com/api/adwords/info/v201109", className = "com.google.api.ads.adwords.jaxws.v201109.info.InfoServiceInterfaceget")
    @ResponseWrapper(localName = "getResponse", targetNamespace = "https://adwords.google.com/api/adwords/info/v201109", className = "com.google.api.ads.adwords.jaxws.v201109.info.InfoServiceInterfacegetResponse")
    public ApiUsageInfo get(
        @WebParam(name = "selector", targetNamespace = "https://adwords.google.com/api/adwords/info/v201109")
        InfoSelector selector)
        throws ApiException
    ;

}
